package cn.com.bluemoon.order.print.util;

public class StringUtil {
	public static String decodeUnicode(String utfStr) { 
        final StringBuffer buffer = new StringBuffer(); 
        String charStr = ""; 
        String operStr = utfStr; 
        for(int i =0 ; i < utfStr.length() ;i=+4){ 
            charStr = operStr.substring(0, 4); 
            operStr = operStr.substring(4, operStr.length()); 
            char letter = (char) Integer.parseInt(charStr, 16); 
            buffer.append(new Character(letter).toString()); 
        } 
        return buffer.toString(); 
    }
}
